package com.ejlchina.keno



fun checkThreeSameInLine(resultList: List<Int>): Int {
    val sampleList = FRONT_NO_REPEAT_NEW
    var count = 0
    sampleList.forEachIndexed { lineIndex, lineList ->
        if (intersectCount(lineList,resultList) == 3) {
            val pair = getPageLineIndexFromSampleIndex(lineIndex)
            println("一行有3个相同的页数：${pair.first}，行数：${pair.second}")
            count++
        }
    }
    return count
}